﻿using Medical.ErrorCode;

namespace BaseData.ErrorCode
{
	/// <summary>
	/// 统一API响应模型
	/// </summary>
	/// <typeparam name="T">数据类型</typeparam>
	public class ApiResult<T>
	{
		/// <summary>
		/// 状态码
		/// </summary>
		public ApiEnum Code { get; set; }
		/// <summary>
		/// 状态信息
		/// </summary>
		public string Message { get; set; }
		/// <summary>
		/// 数据
		/// </summary>
		public T data { get; set; }
	}
}
